package com.mz.mattress.admin.service;

import com.mz.mattress.api.common.Result;
import com.mz.mattress.api.entity.SysParam;

import java.util.List;
import java.util.Set;

public interface SysParamService {

    SysParam getSysParam(String key);

    Result<List<SysParam>> list();

    Result<SysParam> getById(Integer id);

    Result add(SysParam sysParam);

    Result updateById(SysParam sysParam);

    Result deleteByIds(Set<Integer> ids);
}
